<!--  -->
<template>
<div  style="padding: 0;height: 100%;">
  <datav :allData="allData" v-if="load"/>
</div>
</template>

<script>
import { getAllData } from "@/api/met"
import datav from "./components/datav/index"
export default {
    data () {
        return {
          allData: {},
          load: false
        }
    },
    components: {
      datav
    },
    computed: {},
    methods: {},
    mounted () {
        getAllData().then(ret => {
          let res = ret.data
          res.totalCounts = (res.totalCount + "").split(",")
          this.load = true
          this.allData = res
        })
    }
}

</script>
<style lang='less' scoped>
</style>